package com.shell.provider;

import com.shell.governor.authentication.service.AuthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginNotifyProvider {
	@Autowired
	private AuthService authService;

	@RequestMapping({ "/afterLogged" })
	public void afterLogged(@RequestParam("userId") String userId, @RequestParam("entId") String entId,
			@RequestParam("appCode") String appCode) {
		this.authService.afterLogged(userId, entId, appCode);
	}
}
